package com.terrace.db.system.service;

import com.terrace.core.mybatis.entity.Pagination;
import com.terrace.db.system.mapper.entity.Icon;

public interface IconService {
	
	public int insertIconSelective(Icon icon);
	
	public int deleteIconById(String iconId);

	public int updateIconSelectiveById(Icon icon);

	public Icon selectIconById(String iconId);
	
	/**
	 * 根据编码查询图标信息
	 * @param iconCode
	 * @return
	 */
	public Icon selectIconByCode(String iconCode);
	
	/**
	 * 分页查询
	 * @param pagination
	 * @param icon
	 * @return
	 */
	public Pagination<Icon> selectIconForPagination(Pagination<Icon> pagination, Icon icon);

}
